package com.fsm.template.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class TableDto implements Serializable {

    private static final long serialVersionUID = 5146196113364014284L;

    @Schema(description = "数据库表名")
    private String tableName;

    @Schema(description = "业务名称")
    private String tableCommon;

    @Schema(description = "代码生成路径")
    private String path;

    @Schema(description = "索引字段")
    private List<String> indexFieldList;

    @Schema(description = "是否添加日志")
    private Boolean isAddLog;

    @Schema(description = "添加日志的系统类型（参考日志系统类型枚举）")
    private String systemType;

    @Schema(description = "批量生成")
    private List<TableDto> tableDtoList;
}
